package com.ruoyi.project.baozhi.baozhi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 报纸对象 baozhi
 * 
 * @author ruoyi
 * @date 2021-12-06
 */
public class Baozhi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 报纸种类 */
    @Excel(name = "报纸种类")
    private String name;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String deptId;

    /** 数量 */
    @Excel(name = "数量")
    private Integer shuLiang;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setShuLiang(Integer shuLiang)
    {
        this.shuLiang = shuLiang;
    }

    public Integer getShuLiang()
    {
        return shuLiang;
    }
    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("deptId", getDeptId())
            .append("shuLiang", getShuLiang())
            .append("year", getYear())
            .toString();
    }
}
